package com.dp.vo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@Table(name = "news_tj_iphone_day")
//@NamedQueries({@NamedQuery(name = "NewsTjIphoneDay.findAll", query = "SELECT n FROM NewsTjIphoneDay n"), @NamedQuery(name = "NewsTjIphoneDay.findById", query = "SELECT n FROM NewsTjIphoneDay n WHERE n.id = :id")})
public class NewsTjIphoneDay implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @Column(name = "id")
    private Integer id ;
    @Column(name = "provider")
    private String provider;
    @Column(name = "provider_country")
    private String provider_country;
    @Column(name = "vendor_identifier")
    private String vendor_identifier;
    @Column(name = "upc")
    private String upc;
    @Column(name = "isrc")
    private String isrc;
    @Column(name = "artist_show")
    private String artist_show;
    @Column(name = "title_episode_season")
    private String title_episode_season;
    @Column(name = "label_studio_network")
    private String label_studio_network;
    @Column(name = "product")
    private Integer product;
    @Column(name = "units")
    private Integer units;
    @Column(name = "royalty_price")
    private Integer royalty_price;
    @Column(name = "begin_date")
    private Date begin_date;
    @Column(name = "end_date")
    private Date end_date;
    @Column(name = "customer_currency")
    private String customer_currency;
    @Column(name = "country_code")
    private String country_code;
    @Column(name = "royalty_currency")
    private String royalty_currency;
    @Column(name = "preoder")
    private String preoder;
    @Column(name = "season_pass")
    private String season_pass;
    @Column(name = "isan")
    private String isan;
    @Column(name = "apple_identifier")
    private String apple_identifier;
    @Column(name = "customer_price")
    private Integer customer_price;
    @Column(name = "cma")
    private String cma;
    @Column(name = "asset_content_flavor")
    private String asset_content_flavor;
    @Column(name = "vendor_offer_code")
    private String vendor_offer_code;
    @Column(name = "qrid")
    private String qrid;
    @Column(name = "promo_code")
    private String promo_code;
    @Column(name = "parent_identifier")
    private String parent_identifier;
    
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProvider() {
		return provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public String getProvider_country() {
		return provider_country;
	}

	public void setProvider_country(String provider_country) {
		this.provider_country = provider_country;
	}

	public String getVendor_identifier() {
		return vendor_identifier;
	}

	public void setVendor_identifier(String vendor_identifier) {
		this.vendor_identifier = vendor_identifier;
	}

	public String getUpc() {
		return upc;
	}

	public void setUpc(String upc) {
		this.upc = upc;
	}

	public String getIsrc() {
		return isrc;
	}

	public void setIsrc(String isrc) {
		this.isrc = isrc;
	}

	public String getArtist_show() {
		return artist_show;
	}

	public void setArtist_show(String artist_show) {
		this.artist_show = artist_show;
	}

	public String getTitle_episode_season() {
		return title_episode_season;
	}

	public void setTitle_episode_season(String title_episode_season) {
		this.title_episode_season = title_episode_season;
	}

	public String getLabel_studio_network() {
		return label_studio_network;
	}

	public void setLabel_studio_network(String label_studio_network) {
		this.label_studio_network = label_studio_network;
	}

	public Integer getProduct() {
		return product;
	}

	public void setProduct(Integer product) {
		this.product = product;
	}

	public Integer getUnits() {
		return units;
	}

	public void setUnits(Integer units) {
		this.units = units;
	}

	public Integer getRoyalty_price() {
		return royalty_price;
	}

	public void setRoyalty_price(Integer royalty_price) {
		this.royalty_price = royalty_price;
	}

	public Date getBegin_date() {
		return begin_date;
	}

	public void setBegin_date(Date begin_date) {
		this.begin_date = begin_date;
	}

	public Date getEnd_date() {
		return end_date;
	}

	public void setEnd_date(Date end_date) {
		this.end_date = end_date;
	}

	public String getCustomer_currency() {
		return customer_currency;
	}

	public void setCustomer_currency(String customer_currency) {
		this.customer_currency = customer_currency;
	}

	public String getCountry_code() {
		return country_code;
	}

	public void setCountry_code(String country_code) {
		this.country_code = country_code;
	}

	public String getRoyalty_currency() {
		return royalty_currency;
	}

	public void setRoyalty_currency(String royalty_currency) {
		this.royalty_currency = royalty_currency;
	}

	public String getPreoder() {
		return preoder;
	}

	public void setPreoder(String preoder) {
		this.preoder = preoder;
	}

	public String getSeason_pass() {
		return season_pass;
	}

	public void setSeason_pass(String season_pass) {
		this.season_pass = season_pass;
	}

	public String getIsan() {
		return isan;
	}

	public void setIsan(String isan) {
		this.isan = isan;
	}

	public String getApple_identifier() {
		return apple_identifier;
	}

	public void setApple_identifier(String apple_identifier) {
		this.apple_identifier = apple_identifier;
	}

	public Integer getCustomer_price() {
		return customer_price;
	}

	public void setCustomer_price(Integer customer_price) {
		this.customer_price = customer_price;
	}

	public String getCma() {
		return cma;
	}

	public void setCma(String cma) {
		this.cma = cma;
	}

	public String getAsset_content_flavor() {
		return asset_content_flavor;
	}

	public void setAsset_content_flavor(String asset_content_flavor) {
		this.asset_content_flavor = asset_content_flavor;
	}

	public String getVendor_offer_code() {
		return vendor_offer_code;
	}

	public void setVendor_offer_code(String vendor_offer_code) {
		this.vendor_offer_code = vendor_offer_code;
	}

	public String getQrid() {
		return qrid;
	}

	public void setQrid(String qrid) {
		this.qrid = qrid;
	}

	public String getPromo_code() {
		return promo_code;
	}

	public void setPromo_code(String promo_code) {
		this.promo_code = promo_code;
	}

	public String getParent_identifier() {
		return parent_identifier;
	}

	public void setParent_identifier(String parent_identifier) {
		this.parent_identifier = parent_identifier;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

    
    
	@Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        if (!(object instanceof NewsTjIphoneDay)) {
            return false;
        }
        NewsTjIphoneDay other = (NewsTjIphoneDay) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.dp.vo.NewsTjIphoneDay[id=" + id + "]";
    }


    
}
